home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_tcl80.idb / usr / freeware / lib / tclConfig.sh.z / tclConfig.sh
Text File  |  1999-04-16  |  5KB  |  131 lines

  1. # tclConfig.sh --
  2. # This shell script (for sh) is generated automatically by Tcl's
  3. # configure script.  It will create shell variables for most of
  4. # the configuration options discovered by the configure script.
  5. # This script is intended to be included by the configure scripts
  6. # for Tcl extensions so that they don't have to figure this all
  7. # out for themselves.
  8. #
  9. # The information in this file is specific to a single platform.
  10. #
  11. # RCS: @(#) $Id: tclConfig.sh.in,v 1.8 1998/10/20 20:01:23 rjohnson Exp $
  12.  
  13. # Tcl's version number.
  14. TCL_VERSION='8.0'
  15. TCL_MAJOR_VERSION='8'
  16. TCL_MINOR_VERSION='0'
  17. TCL_PATCH_LEVEL='.4'
  18.  
  19. # C compiler to use for compilation.
  20. TCL_CC='cc'
  21.  
  22. # -D flags for use with the C compiler.
  23. TCL_DEFS=' -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -Dvfork=fork -DHAVE_BSDGETTIMEOFDAY=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 '
  24.  
  25. # If TCL was built with debugging symbols, generated libraries contain
  26. # this string at the end of the library name (before the extension).
  27. TCL_DBGX=
  28.  
  29. # Default flags used in an optimized and debuggable build, respectively.
  30. TCL_CFLAGS_DEBUG='-g'
  31. TCL_CFLAGS_OPTIMIZE='-O'
  32.  
  33. # Flag, 1: we built a shared lib, 0 we didn't
  34. TCL_SHARED_BUILD=1
  35.  
  36. # The name of the Tcl library (may be either a .a file or a shared library):
  37. TCL_LIB_FILE='libtcl8.0${TCL_DBGX}.so'
  38.  
  39. # Additional libraries to use when linking Tcl.
  40. TCL_LIBS='  -lm'
  41.  
  42. # Top-level directory in which Tcl's platform-independent files are
  43. # installed.
  44. TCL_PREFIX='/usr/freeware'
  45.  
  46. # Top-level directory in which Tcl's platform-specific files (e.g.
  47. # executables) are installed.
  48. TCL_EXEC_PREFIX='/usr/freeware'
  49.  
  50. # Flags to pass to cc when compiling the components of a shared library:
  51. TCL_SHLIB_CFLAGS=''
  52.  
  53. # Extra flags to pass to cc:
  54. TCL_EXTRA_CFLAGS='-n32'
  55.  
  56. # Base command to use for combining object files into a shared library:
  57. TCL_SHLIB_LD='ld -n32 -shared -rdata_shared'
  58.  
  59. # Either '$LIBS' (if dependent libraries should be included when linking
  60. # shared libraries) or an empty string.  See Tcl's configure.in for more
  61. # explanation.
  62. TCL_SHLIB_LD_LIBS='${LIBS}'
  63.  
  64. # Suffix to use for the name of a shared library.
  65. TCL_SHLIB_SUFFIX='.so'
  66.  
  67. # Library file(s) to include in tclsh and other base applications
  68. # in order to provide facilities needed by DLOBJ above.
  69. TCL_DL_LIBS=''
  70.  
  71. # Flags to pass to the compiler when linking object files into
  72. # an executable tclsh or tcltest binary.
  73. TCL_LD_FLAGS='-n32'
  74.  
  75. # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
  76. # run-time dynamic linker where to look for shared libraries such as
  77. # libtcl.so.  Used when linking applications.  Only works if there
  78. # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
  79. TCL_LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
  80.  
  81. # Additional object files linked with Tcl to provide compatibility
  82. # with standard facilities from ANSI C or POSIX.
  83. TCL_COMPAT_OBJS=''
  84.  
  85. # Name of the ranlib program to use.
  86. TCL_RANLIB=':'
  87.  
  88. # -l flag to pass to the linker to pick up the Tcl library
  89. TCL_LIB_FLAG='-ltcl8.0${TCL_DBGX}'
  90.  
  91. # String to pass to linker to pick up the Tcl library from its
  92. # build directory.
  93. TCL_BUILD_LIB_SPEC='-L/usr/freeware/lib32 -ltcl8.0${TCL_DBGX}'
  94.  
  95. # String to pass to linker to pick up the Tcl library from its
  96. # installed directory.
  97. TCL_LIB_SPEC='-L/usr/freeware/lib32 -ltcl8.0${TCL_DBGX}'
  98.  
  99. # Indicates whether a version numbers should be used in -l switches
  100. # ("ok" means it's safe to use switches like -ltcl7.5;  "nodots" means
  101. # use switches like -ltcl75).  SunOS and FreeBSD require "nodots", for
  102. # example.
  103. TCL_LIB_VERSIONS_OK='ok'
  104.  
  105. # String that can be evaluated to generate the part of a shared library
  106. # name that comes after the "libxxx" (includes version number, if any,
  107. # extension, and anything else needed).  May depend on the variables
  108. # VERSION and SHLIB_SUFFIX.  On most UNIX systems this is
  109. # ${VERSION}${SHLIB_SUFFIX}.
  110. TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.so'
  111.  
  112. # String that can be evaluated to generate the part of an unshared library
  113. # name that comes after the "libxxx" (includes version number, if any,
  114. # extension, and anything else needed).  May depend on the variable
  115. # VERSION.  On most UNIX systems this is ${VERSION}.a.
  116. TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'
  117.  
  118. # Location of the top-level source directory from which Tcl was built.
  119. # This is the directory that contains a README file as well as
  120. # subdirectories such as generic, unix, etc.  If Tcl was compiled in a
  121. # different place than the directory containing the source files, this
  122. # points to the location of the sources, not the location where Tcl was
  123. # compiled.
  124. TCL_SRC_DIR='/usr/freeware/src/tcl/tcl8.0'
  125.  
  126. # List of standard directories in which to look for packages during
  127. # "package require" commands.  Contains the "prefix" directory plus also
  128. # the "exec_prefix" directory, if it is different.
  129. TCL_PACKAGE_PATH='/usr/freeware/lib'
  130.